package com.party.core.dao.read.mall;

import com.party.common.paging.Page;
import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.mall.MallBrand;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by huangwuming on 2018/3/26/026.
 */
@Repository
public interface MallBrandReadDao extends BaseReadDao<MallBrand> {

    List<MallBrand> webListPage(@Param(value = "brand") MallBrand goodsBrand, @Param(value = "params") Map<String, Object> params, Page page);

    List<MallBrand> findByCategoryId(String categoryId);

    List<MallBrand> findByName(String name);
}
